<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Modelling by FCT</title>
<link href="http://fonts.googleapis.com/css?family=Abel" rel="stylesheet" type="text/css" />
<base href="<?= base_url() ?>" />
<link rel="stylesheet"
	href="style/style.css"
	type="text/css" />

</head>
<body>
		<div id="header" class="container" >
			<div id="logo" style="float: left;">
				<h1><a href="#">Web Albums</a></h1>
				<p>By Eyal Hirsch</p>
			</div>
			<div id="menu" style="float: left;">
				<ul>
					<li class="current_page_item"><a href="#">Homepage</a></li>
					<li><a href="<?= $base ?>albums/viewAlbums">My Albums</a></li>
					<li><a href="<?= $base ?>upload/doUpload">Upload Section</a></li>
					<li><a href="#">About</a></li>
					<li><a href="#">Contact</a></li>
					<li><a href="<?= $base ?>login/doLogout">Logout</a></li>
				</ul>
				
			</div>
			<div style="clear: both;width: 320px;">
				welcome, 
				<?php 
				if (isset($user)) {
					echo $user;
				} else { ?>
					<a href="<?= $base ?>login">please login</a>
				<?php }?>
			</div>
			
		</div>
		 
</body>
</html>